import type { OptionInterface } from "./index.d";

export const config: OptionInterface = {
  uploadUrl: "",
  // 处理分页返回的数据结构
  dealTableRes: (res) => {
    return {
      total: res.pageInfo.total,
      list: res.data,
    };
  },
  dealTableSearch: (params) => {
    return params;
  },
};
